Skip to content

Conversation

jeffgbutler
Copy link
Member

This PR adds support for "for update", "for share", "skip locked", etc. in select statements. This is not an abstraction of these concepts for different databases it simply adds known clauses to a generated SQL statement. You should always test to make sure these functions work in your target database. Currently, we support, and test, the options supported by PostgreSQL.

Resolves #902

@jeffgbutler jeffgbutler added this to the 2.0.0 milestone Jan 24, 2025
@coveralls
Copy link

Coverage Status

coverage: 100.0%. remained the same
when pulling 2a1b8da on jeffgbutler:select-enhancements
into a645046 on mybatis:master.

@jeffgbutler jeffgbutler merged commit 173ad6b into mybatis:master Jan 24, 2025
7 checks passed
@jeffgbutler jeffgbutler deleted the select-enhancements branch January 24, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support [for update,for share] in SELECT DSL

2 participants